

#ifndef __MUSIC_ENGINE_H_
#define __MUSIC_ENGINE_H_


typedef struct 
{
	InputPlugin 		*current_input_plugin;
	BOOL				playing;
	BOOL				paused;
}input_plugin_data;




int music_engine_init(struct pe_music_cfg *pe_music_cfg);

void music_engine_release();

int music_engine_play(char *filename);

void music_engine_seek(int time);

void music_engine_stop(void);

void music_engine_pause(void);

int music_engine_get_time(void);

void music_engine_set_eq(int on, float preamp, float *bands);

int music_engine_get_song_info(char * filename, MusicInfo *music_info);

int music_engine_get_decoder_info(char * filename, DecoderInfo *decoder_info);

#endif


